// 侧边栏
.layout-body-sidebar-container > .el-menu {
    width: 100% !important;
    min-height: 100%;
    border-radius: 0;
    padding-top: 50px;
    box-sizing: border-box;
    border-right: 1px solid $menuBg;
    border-top: none;
}

.hideSidebar .el-submenu > .el-submenu__title,
.hideSidebar .submenu-title-noDropdown {
    padding-left: 10px !important;
}

.hideSidebar .submenu-title-noDropdown span,
.hideSidebar .el-submenu > .el-submenu__title > span {
    height: 0;
    width: 0;
    overflow: hidden;
    visibility: hidden;
    display: inline-block;
}

.hideSidebar .nest-menu .el-submenu__title {
    text-align: initial !important;
    padding-left: 20px !important;
    span {
        height: auto;
        width: auto;
        visibility: visible;
        display: inline;
    }
    .el-submenu__icon-arrow {
        display: block !important;
    }
}

.hideSidebar .menu-wrapper > .el-menu-item,
.hideSidebar .submenu-title-noDropdown,
.hideSidebar .menu-wrapper > .el-submenu .el-submenu__title {
    text-align: center;
}

.hideSidebar .el-menu-item .el-submenu__icon-arrow,
.hideSidebar .el-submenu .el-submenu__title .el-submenu__icon-arrow {
    display: none;
}

.hideSidebar .submenu-title-noDropdown {
    position: relative;
    span {
        transition: opacity 1s cubic-bezier(.55, 0, .1, 1);
        opacity: 0;
    }
    &:hover {
        span {
            display: block;
            z-index: 1002;
            width: 140px;
            height: 56px;
            visibility: visible;
            position: absolute;
            right: -145px;
            text-align: left;
            text-indent: 20px;
            top: 0px;
            background-color: $subMenuBg!important;
            opacity: 1;
        }
    }
}
.hideSidebar .el-menu--collapse .el-submenu .el-menu{
    border: none;
}
/*二级菜单背景*/
nest-menu .el-submenu>.el-submenu__title,
.el-submenu .el-menu-item {
    min-width: 180px!important;
    background-color: $subMenuBg!important;
    &:hover {
        background-color: $menuHover!important;
    }
}
.el-menu--collapse .el-menu .el-submenu{
    min-width: 180px!important;
}

/*收起或展开侧边栏*/
.sidebar-fold {
    position: fixed;
    bottom: 0;
    z-index: 10000;
    height: 40px;
    width: 180px;
    background: #1f2d3d;
    /*background: #2b364d;*/
    /*background: $menuBg;*/
    color: #aeb9c2;
    text-align: center;
    line-height: 40px !important;
    font-size: 22px;
    user-select: none;
    cursor: pointer;
    -webkit-user-select: none;
    transition: width 0.28s ease-out;
    i{
        transition:all .3s;
    }
    .t1{
        transform: rotateZ(-90deg);
    }
    .sidebar-icon{
        color: #aeb9c2;
        text-align: center;
        line-height: 40px !important;
        user-select: none;
        cursor: pointer;
        -webkit-user-select: none;
    }
    &:hover{
        background: rgb(38, 52, 69);;
    }
}